package com.lhy.service.impl;

import com.lhy.entity.Dept;
import com.lhy.mapper.DeptMapper;
import com.lhy.service.DeptService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.jws.Oneway;
import java.util.List;

/**
 * @Author：罗昊宇
 * @Package：com.lhy.service.impl
 * @Project：springboot03
 * @name：DeptServiceImpl
 * @Date：2024/3/7 0007  9:04
 * @Filename：DeptServiceImpl
 */
@Service
public class DeptServiceImpl implements DeptService {
    @Autowired
    private DeptMapper deptMapper;

    public List<Dept> selectAllDept() {
        List<Dept> deptList = deptMapper.selectAllDept();

        return deptList;


    }
}
